package io.finer.erp.jeecg.jolimark.factory;

import io.finer.erp.jeecg.jolimark.enums.PaperTypeEnum;
import io.finer.erp.jeecg.jolimark.enums.PrinterEnum;
import io.finer.erp.jeecg.jolimark.model.PrintRequestModel;

/**
 * CFP系列打印机
 * 
 * @author Jolimark
 *
 */
public class CFPFactory extends AbstractPrinterFactory implements IPrinterFactory {

	public CFPFactory(PrinterEnum printerEnum) {
		super(printerEnum);
	}

	@Override
	public PrintRequestModel createPrintRequest() {
		PrintRequestModel model = create();
		model.setPaperType(PaperTypeEnum.PerforatedPaper);
		return model;
	}
}
